package org.demo.tools;

import com.google.common.base.Objects;


public class ObjectsTest {

	public static void main(String[] args) {
//		equals
		System.out.println(	Objects.equal(null, null) );
	
		//用对象的所有字段作散列[hash]运算应当更简单。
		System.out.println(	Objects.hashCode(new Object()));
		
		System.out.println(Objects.toStringHelper("ObjectsTest").add("x", 1).toString());
		
//		ComparisonChain.start()
	}
	

}
